package com.daydayup.test20190112;

public class Test {

	public static void main(String[] args) {
		System.out.println(-1 % 2);
		int day = 7;
		Car car = new Car();
		car.setBrand("阿斯顿·马丁");
		car.setCarNo("京A10245");
		car.setType("两箱");
		double sunRent = car.getSunRent(7);
		System.out.println("车品牌：" + car.getBrand() + "，车牌号：" + car.getCarNo() + "，" + car.getType() + "车，" + day
				+ "天租金是：" + sunRent + "。");
	}

}
